package com.hs.dict.model;

/**
 * HsCode entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class HsCode extends com.hs.core.model.BaseBean implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String dictcode;
	private String dictname;
	private Long parentid;
	private Long ordnum;
	private Long dicttype;
	private Long youxbj;
	private Long isdefault;
	private Long isfromdb;
	private String datasql;

	// Constructors

	/** default constructor */
	public HsCode() {
	}

	/** full constructor */
	public HsCode(String dictcode, String dictname, Long parentid, Long ordnum,
			Long dicttype, Long youxbj, Long isdefault, Long isfromdb,
			String datasql) {
		this.dictcode = dictcode;
		this.dictname = dictname;
		this.parentid = parentid;
		this.ordnum = ordnum;
		this.dicttype = dicttype;
		this.youxbj = youxbj;
		this.isdefault = isdefault;
		this.isfromdb = isfromdb;
		this.datasql = datasql;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDictcode() {
		return this.dictcode;
	}

	public void setDictcode(String dictcode) {
		this.dictcode = dictcode;
	}

	public String getDictname() {
		return this.dictname;
	}

	public void setDictname(String dictname) {
		this.dictname = dictname;
	}

	public Long getParentid() {
		return this.parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public Long getOrdnum() {
		return this.ordnum;
	}

	public void setOrdnum(Long ordnum) {
		this.ordnum = ordnum;
	}

	public Long getDicttype() {
		return this.dicttype;
	}

	public void setDicttype(Long dicttype) {
		this.dicttype = dicttype;
	}

	public Long getYouxbj() {
		return this.youxbj;
	}

	public void setYouxbj(Long youxbj) {
		this.youxbj = youxbj;
	}

	public Long getIsdefault() {
		return this.isdefault;
	}

	public void setIsdefault(Long isdefault) {
		this.isdefault = isdefault;
	}

	public Long getIsfromdb() {
		return this.isfromdb;
	}

	public void setIsfromdb(Long isfromdb) {
		this.isfromdb = isfromdb;
	}

	public String getDatasql() {
		return this.datasql;
	}

	public void setDatasql(String datasql) {
		this.datasql = datasql;
	}

}